package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 幸运红包表 xingyunhongbao
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Xingyunhongbao extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 幸运红包Id */
	private Integer xingyunhongbaoId;
	/** 最小金额 */
	private Double smallMoney;
	/** 最大金额 */
	private Double bigMoney;
	/** 触发时间 */
	private String chuFaTime;
	/** 红包数量 */
	private Integer shuLiang;
	/**  */
	private String tiShi;
	/** 状态 */
	private Integer status;
	/** 创建时间 */
	private Date createTime;
	/** 修改时间 */
	private Date updateTime;
	/** 扩展字段 */
	private String attribute;

	public void setXingyunhongbaoId(Integer xingyunhongbaoId) 
	{
		this.xingyunhongbaoId = xingyunhongbaoId;
	}

	public Integer getXingyunhongbaoId() 
	{
		return xingyunhongbaoId;
	}
	public void setSmallMoney(Double smallMoney) 
	{
		this.smallMoney = smallMoney;
	}

	public Double getSmallMoney() 
	{
		return smallMoney;
	}
	public void setBigMoney(Double bigMoney) 
	{
		this.bigMoney = bigMoney;
	}

	public Double getBigMoney() 
	{
		return bigMoney;
	}
	public void setChuFaTime(String chuFaTime) 
	{
		this.chuFaTime = chuFaTime;
	}

	public String getChuFaTime() 
	{
		return chuFaTime;
	}
	public void setShuLiang(Integer shuLiang) 
	{
		this.shuLiang = shuLiang;
	}

	public Integer getShuLiang() 
	{
		return shuLiang;
	}
	public void setTiShi(String tiShi) 
	{
		this.tiShi = tiShi;
	}

	public String getTiShi() 
	{
		return tiShi;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("xingyunhongbaoId", getXingyunhongbaoId())
            .append("smallMoney", getSmallMoney())
            .append("bigMoney", getBigMoney())
            .append("chuFaTime", getChuFaTime())
            .append("shuLiang", getShuLiang())
            .append("tiShi", getTiShi())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
